package com.lixin.smartclassroom.bean

import com.drake.brv.annotaion.ItemOrientation
import com.drake.brv.item.ItemSwipe
import java.io.Serializable

/**
 * Description
 * Author: lwc
 * Date:2023/12/5 13:47
 */
open class BaseBean : Serializable {
    var result: String = "0"
    var resultNote: String? = null
    var url: String? = null
    var urls: ArrayList<String>? = null
    var apptoken: String? = null
    var weixin: String? = null
    var weixincode: String? = null
    var phone: String? = null
    var address: String? = null
    var createdate: String? = null
    var content: String? = null
    val id: String? = null
    val image: String? = null
    val title: String? = null
    val classname: String? = null
    val cuowunum: String? = null
    val dianping: String? = null
    val nums: String? = null
    val state: String? = null
    val xiaojie: String? = null
    val yidanum: String? = null
    val zhengquenum: String? = null
    val zubie: String? = null
    val zuyuan: String? = null
    val biaoshi: String? = null
    var clickcount: String? = null
    val futitle: String? = null
    val ifclick: String? = null
    var plcount: String? = null
    val seecount: String? = null
    val ifjoin: String? = null
    val teacherimage: String? = null
    val teachername: String? = null
    val createname: String? = null
    val codeimage: String? = null
    val createimage: String? = null
    val bigzjid: String? = null //大章节id
    val smallid: String? = null//小章节id
    val name: String? = null
    val xuehao: String? = null
    val imagecode: String? = null
    val hudong: String? = null
    val jieduan: String? = null
    val leixing: String? = null
    val classid: String? = null
    val fwcode: String? = null
    val coerimage: String? = null
    val icon: String? = null
    val iconid: String? = null
    val ifwon: String? = null
    val fenleiid: String? = null
    val fenleiname: String? = null
    val lablename: String? = null
    val fabutime: String? = null
    val classesname: String? = null
    val piyuecount: String? = null
    val xiaojiecount: String? = null
    val canyucount: String? = null
    val quanxian: String? = null
    val customerids: String? = null
    val teacherId: String? = null
    val groupname: String? = null
    val groupstudent: String? = null
    val begintime: String? = null
    val ifbaoming: String? = null
    val day: String? = null
    val ifjieshu: String? = null
    val wcday: String? = null
    val studentcount: String? = null
    val nandu: String? = null
    val dtstudentcount: String? = null
    val groupcustomer: String? = null
    val pingjun: String? = null
    val ifzudui: String? = null
    val iftongbu: String? = null
    val peoplecount: String? = null
    val cid: String? = null
    val timucount: String? = null
    val totalscouce: String? = null
    val biaoqian: List<BiaoQianBean>? = null
    val cyrenshu: String? = null
    val paiming: String? = null
    val scouce: String? = null
    val defen: String? = null
    val jindu: String? = null
    val yidaxiaojiecount: String? = null
    val yidatimushuliang: String? = null
    val zongdefen: String? = null
    val count: String? = null
    val paperid: String? = null
    val totalclass: String? = null
    val baominginfo: String? = null
    val baomingend: String? = null
    val endtime: String? = null
    val gongzhonghao: String? = null
    val youxiang: String? = null
    val yilianxiaojie: String? = null
    val daticount: String? = null
    val totalsource: String? = null
    val source: String? = null
    val suoshuclass: String? = null
    val courselable: String? = null
    val baomingzhuangtai: String? = null
    val baominginfoname: String? = null
    val nanduid: String? = null
    var weidulist: List<WeiduBean>? = null
    var ydcustomer: List<StudentBean>? = null
    var wdcustomer: List<StudentBean>? = null
}


open class BaseBeanDataList<T> : Serializable {
    var result: String = "0"
    var resultNote: String? = null
    var totalPage: Int? = 1
    var id: String? = null
    var totalCount: String? = null
    var xitongcount: String? = null
    var xitongtitle: String? = null
    var zhktcount: String? = null
    var zhkttitle: String? = null
    var ztcgcount: String? = null
    var ztcgtitle: String? = null
    var yanxuecount: String? = null
    var pingluncount: String? = null
    var yanxuetitle: String? = null
    var dataList: T? = null
    var data: T? = null
}


data class PaperItem(
    val itemId: String? = "",
    val title: String? = "",
    var answer: String? = null,
    var parentPosition: Int? = null
)

data class StudentBean(
    val name: String? = "",
    val image: String? = "",
    val hudongcode: String? = ""
)

data class BiaoQianBean(
    val id: String? = "",
    val createDate: String? = "",
    var name: String? = null,
    var sort: String? = null
)

data class DataListBean(
    val sendType: String? = "",
    val practiceType: String? = "",
    var isRightKey: Boolean = false,
    var questionType: String? = "",
    var selectPosition: String? = "",


    val coverimage: String? = "",
    val createdate: String? = "",
    val createname: String? = "",
    val createimage: String? = "",
    val submittime: String? = "",
    val ifhave: String? = "",
    val imageurl: String? = "",
    val bimageurl: String? = "",
    var id: String? = "",
    var smallid: String? = "",
    var ifwon: String? = "",
    var classid: String? = "",
    var leixing: String? = "",
    var projectid: String? = "",
    var iftop: String? = "",
    var ifzufui: String? = "",
    var nums: String? = "",
    var evaluateNums: ArrayList<String>? = null,
    var futitle: String? = "",
    var myanswer: String? = "",
    var ifzudui: String? = "",
    var smalltitle: String? = "",
    var customerimage: String? = "",
    var customername: String? = "",
    var createtime: String? = "",
    var zuyuan: String? = "",
    var daipiyuecount: String? = "",
    var groupid: String? = "",
    val playcount: String? = "",
    val lableid: String? = "",
    var seecount: String? = "",
    var courseid: String? = "",
    val title: String? = "",
    val colorstate: String? = "",
    var clickcount: String? = "",
    val content: String? = "",
    val code: String? = "",
    var ifclick: String? = "",
    var image: String? = "",
    var ifwancheng: String? = "",
    var icon: String? = "",
    var name: String? = "",
    var pinglunrenshu: String? = "",
    var ifgroup: String? = "",
    var groupcustomer: String? = "",
    val type: String? = "",
    val dpycount: String? = "",
    val fwcode: String? = "",
    val jindu: String? = "",
    val studentcount: String? = "",
    val teachercount: String? = "",
    val weijiarucount: String? = "",
    var hudongcode: String? = "",
    var classname: String? = "",
    val xuecode: String? = "",
    val yiducount: String? = "",
    val begintime: String? = "",
    val brief: String? = "",
    val joincount: String? = "",
    val lable: String? = "",
    var state: String? = "",
    val suoshuclass: String? = "",
    val defen: String? = "",
    val groupname: String? = "",
    val groupstudent: String? = "",
    val groustudent: String? = "",
    val grouptitle: String? = "",
    val totalfenshu: String? = "",
    val weidulist: ArrayList<WeiduBean>? = null,
    var expandFlag: String? = "",
    var url: String? = "",
    var filecount: String? = "",
    var size: String? = "",
    var answer: String? = "",
    var answertime: String? = "",
    var answerimage: String? = "",
    var xuehao: String? = "",
    var hudong: String? = "",
    var quanxian: String? = "",
    var customerids: String? = "",
    var nandu: String? = "",
    var day: String? = "",
    var teachername: String? = "",
    var briefcount: String? = "",
    var teacherimage: String? = "",
    var ydbriefcount: String? = "",
    var cid: String? = "",
    var iffenzu: String? = "",
    var ifniming: String? = "",
    var xiaojieid: String? = "",
    var renwuid: String? = "",
    var jiexi: String? = "",
    var right: String? = "",
    var totaldefen: String? = "",
    var totalsource: String? = "",
    var source: String? = "",//分数
    var sourceid: String? = "",
    var ifzt: String? = "",//1为做题  2已做题
    var ifpingjia: String? = "",//是否评价 1否 2是
    var ifjieshu: String? = "",//1已结束 2展示day天数

    val itemList: List<PaperItem>? = null,
    val topicId: String? = "",
    var topicanswer: String? = "",//问卷答案
    var ifright: String? = "",

    var biaoqianlist: List<String>? = null,
    val small: List<Small>? = null,
    val options: List<Options>? = null,
    val teachers: List<TeacherBean>? = null
) : Serializable


data class Options(
    val id: String? = "",
    val option: String? = "",
    val title: String? = "",
    val sort: String? = "",
    val image: String? = "",
    var isRightKey: Boolean? = false
) : Serializable

data class TeacherBean(
    val id: String? = "",
    val name: String? = "",
    val image: String? = "",
    val hudong: String? = ""
) : Serializable


data class WeiduBean(
    val name: String? = "",
    val nums: String? = "",
    val totalsource: String? = ""
) : Serializable

data class ProgressBean(
    val id: String? = "",
    val name: String? = ""
) : Serializable


data class Small(
    val id: String? = "",
    val ifgroup: String? = "",
    val ifqiandao: String? = "",
    val title: String? = "",
    val type: String? = "",
    val ifzt: String? = "",
    var state: String? = "",
    var endtime: String? = "",
    var parentPosition: Int? = 0,
    var peoplecount: String? = ""
) : Serializable

data class FileBean(
    val name: String,
    val size: String,
    var url: String? = null

)

data class NormalQuestionDto(
    val bioashi: String,
    val miaoshu: String,
    val sort: String,
    val image: String? = null,
    val vedio: String? = null

)

data class PiYueDto(
    val timuid: String,
    val answer: String,
    val type: String? = null,
    var fenzhi: ArrayList<ScoreDto>? = null
)

data class ScoreDto(
    val wid: String,
    var sourse: String,
)

data class ScoreSetEvent(
    val scoreDto: ScoreDto,
    val position: Int

)

data class EvaluationQuestionsDto(
    var name: String,
    var nums: String? = "0",
    var weiduname: String
) : Serializable


data class TopicListDto(
    val topicId: String,
    var answer: String? = null,
    var parentPosition: Int? = null
)

data class TopicListDto2(
    val timuid: String,
    var answer: String? = null,
    var parentPosition: Int? = null,
    var answerimage: String? = null
)

data class BaoMingDto(
    val name: String,
    var content: String? = null
)

data class RoleBean(
    val roleId: Int,
    val roleImg: Int,
    val roleName: String,
    var selectFlag: Boolean = false
)

data class AnnouncementBean(
    val id: String,
    val content: String,
    val url: String
)

data class ImageUploadEvent(
    val position: Int,
    val url: String
)

//data class DataListBean(
//    val id: String? = null,
//    val questionType: String = "1",
//    val sendType: String = "1",
//    val practiceType: String = "1",
//    var expandFlag: String = "1",
//    override var itemOrientationSwipe: Int = ItemOrientation.LEFT//实现侧滑删除
//) : Serializable, ItemSwipe

//data class DataListBean(
//    val id: String? = null,
//    val title: String? = null,
//    val content: String? = null,
//    val questionType: String = "1",
//    var liked: Boolean = false,
//    var isRightKey: Boolean = false,
//    val sendType: String = "1",
//    val practiceType: String = "1",
//    var expandFlag: String = "1"
//) : Serializable
